Package-level declarations
Types
Link copied to clipboard
data class BookInformation(val id: String, val title: String, val subtitle: String = "", val coverUri: Uri = Uri.EMPTY, val author: String, val description: String, val tags: List<String> = emptyList(), val publishingHouse: String, val wordCount: WordCount, val lastUpdated: LocalDateTime, val isComplete: Boolean)
书本详情接口
Link copied to clipboard
interface BookRepositoryApi
书本相关的Api
Link copied to clipboard
书本卷目录
Link copied to clipboard
Link copied to clipboard
章节基础信息
Link copied to clipboard
interface LocalBookDataSourceApi
本地书本数据源接口 提供对本地存储的书本数据的增删改查操作
Link copied to clipboard
data class UserReadingData(val id: String, val lastReadTime: LocalDateTime? = null, val totalReadTime: Int = 0, val readingProgress: Float = 0.0f, val lastReadChapterId: String? = null, val lastReadChapterTitle: String? = null, val currentChapterReadingProgressMap: Map<String, Float> = mapOf(), val maxChapterReadingProgressMap: Map<String, Float> = mapOf())
用户书本阅读数据接口